<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'saleReport.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap.min.css" />

	<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap-theme.min.css" />
  </head>
  
  <body style="margin:0;padding:0">
  <b>统计</b>：4PX目前异常包裹共<font color='blue' size='6px'>${fn:length(shipList)}</font> 件    <a href="/haierp1/bi/ship/refreshPxImproperReport" style="padding-left:5px;"><input type="button" value="刷新"/></a>   <a href="/haierp1/bi/ship/exportExcel" style="padding-left:5px;"><input type="button" value="导出"/></a>   <a href="/haierp1/bi/ship/selectYkImproperReport" style="padding-left:5px;"><input type="button" value="查看邮客"/></a>
  	 <div style="width:50%;  margin: 0 auto;margin-top:25px"  >
  	 <form action="/haierp1/bi/ship/selectPxImproperReport" method="get"><input  name="packageNumber" placeholder="请输入包裹号查询" value="${packageNumber}" /> 
		<input type="submit" value="检索" />
	 </form>
  		<table class="table table-bordered">
  			<tr class="info">
  				<td>包裹号</td>
  				<td>预报日期</td>
  				<td>操 作</td>  				
  			</tr>
	  		<c:if test="${shipList==null || fn:length(shipList) == 0}">  
				<tr>  
		  		<td colspan="4">暂无统计数据 ！</td>  
				</tr>  
				</c:if>  
			<c:forEach items="${shipList}" var="ship">  
		 		<tr >  
		    	<td>${ship.packageNo}</td>  
		    	<td>${ship.dimensionDate}</td> 
		    	<td><a href="/haierp1/bi/ship/deletePackageNo?packageNo=${ship.packageNo}&type=4px" style="padding-left:5px;"><input type="button" value="删除"/></a></td>   
		  		</tr>  
			</c:forEach>
		</table>
	</div>  
  	</body>
 	 </div>
</html>





